<?php
ob_start();
session_start();
include("utils.php");
main_content("main();");

function main()
{
	if($_SESSION['langId']!="")
	{
		$langId=$_SESSION['langId'];
	}
	else
	{
		$langId="1";
	}
	$sql="select * FROM ".FAQ." where langId='".$langId."'";

	$query=mysql_query($sql);
	?>
<br />
<br />

<form method="post" action="" class="cmxform" id="signupForm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td valign="top" align="center">
			<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td valign="top">&nbsp;</td>
					<td>
						<table width="827" class="center" cellspacing="0" cellpadding="0">
							<tr>
								<td><img src="images/red_table_ltop.jpg" alt="" /></td>
								<td class="red_table_top"></td>
								<td><img src="images/red_table_rtop.jpg" alt="" /></td>
							</tr>
							<tr>
								<td class="red_table_LSide"></td>
								<!-- ban body part -->
								<td class="inner_contentArea">
									<table width="100%"> 
										<tr>
											<td style="font-family: Arial; font-size: 12px;"><a name="selling tips" ><strong>Selling tips</strong></a><br>	</td>
										</tr>
										<tr>
											<td style="padding-left:20px;">
												<table width="100%">
													<?php while($result= mysql_fetch_array($query))
													{
														?>
														<tr>
															<td
																style="border-bottom: .5px solid #6DFFE9; font-family: Arial; font-size: 14px; font-weight: bold;"><?php echo $result['faq'];?></td>
														</tr>
														<tr>
															<td style="font-family: Arial; font-size: 12px;"><br>
															<?php echo $result['answer'];?></td>
														</tr>
														<tr>
															<td style="font-family: Arial; font-size: 12px;">&nbsp;</td>
														</tr>
														<?php } ?>
													</table>
											</td>
										</tr>
									</table>
									

						</td>
						<!-- /ban body part -->


						<td class="red_table_RSide"></td>
					</tr>
					<tr>
						<td><img src="images/red_table_lbottom.jpg" alt="" /></td>
						<td class="red_table_bottom"></td>
						<td><img src="images/red_table_rbottom.jpg" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</form>
<?php
}
?>